package com.yami.shop.vo.message.message;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * 已读回执消息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ReadReceiptMessageVo implements Serializable {
    @NotEmpty(message = "发送人不能为空")
    @Schema(description = "发送人id",required = true)
    private  String senderId;

    @NotEmpty(message = "接收方不能为空")
    @Schema(description = "接收方id", required = true)
    private List<String> targetId;

    @Schema(description = "最后一条消息的发送时间不能为空")
    private String lastMessageSendTime;

    @Schema(description = "消息唯一标识")
    private String messageUId;
}
